<?php
html::printPath(array(
        'seminar.form-title' => 'admin/seminar/all',
        $this->data->seminar['name'] => '/admin/seminar/display?id=' . $this->data->seminar['id'],
		'seminar.accommodation-title' => '/admin/seminarAccomodation/overview',
        'seminar.accomodationSettings-title' => ''
	),
	''
);
$msg->printMessages();

$fb = new FormBuilder('seminar', $formData);
$fb->setAction('/admin/seminarAccomodation/settings');
$fb->radioButtons('accomodationTypeCode', $accomodationTypeOptions, null)->required();
$fb->radioButtons('batchCode', $batchOptions)->required();
$fb->radioButtons('gender', $genderOptions)->labelKey('person.gender')->required();
$fb->yesNoBox('showAllRooms')->labelKey('seminarAccomodation.showAllRooms')->noEmptyOption();

$fb->submitButton('button.save');
$fb->write();
